<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TagM: armboard::input_output_pin Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TagM
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="classarmboard.html">armboard</a></li><li class="navelem"><a class="el" href="classarmboard_1_1input__output__pin.html">input_output_pin</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">armboard::input_output_pin Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>a pin that can be configure as input or output  
 <a href="classarmboard_1_1input__output__pin.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="armboard_8h_source.html">armboard.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for armboard::input_output_pin:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classarmboard_1_1input__output__pin.png" usemap="#armboard::input_output_pin_map" alt=""/>
  <map id="armboard::input_output_pin_map" name="armboard::input_output_pin_map">
<area href="classarmboard_1_1output__pin.html" title="an output pin" alt="armboard::output_pin" shape="rect" coords="0,0,189,24"/>
<area href="classarmboard_1_1input__pin.html" title="an input pin" alt="armboard::input_pin" shape="rect" coords="199,0,388,24"/>
<area href="classarmboard_1_1input__output__pin__mkt.html" title="an input-output pin implemented using the mkt_ routines" alt="armboard::input_output_pin_mkt" shape="rect" coords="99,112,288,136"/>
</map>
 </div></div>

<p><a href="classarmboard_1_1input__output__pin-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afb43cbbfb133e85c2cbe08d33e66c823"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb43cbbfb133e85c2cbe08d33e66c823"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1input__output__pin.html#afb43cbbfb133e85c2cbe08d33e66c823">direction_set</a> (<a class="el" href="classarmboard.html#a7c2d74619607aeb7eb3d401d06022d5e">direction</a> d)</td></tr>
<tr class="memdesc:afb43cbbfb133e85c2cbe08d33e66c823"><td class="mdescLeft">&#160;</td><td class="mdescRight">configure the direction of the pin <br/></td></tr>
<tr class="memitem:a1cba37f66ea848e82d10b51093ec6d37"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1cba37f66ea848e82d10b51093ec6d37"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1input__output__pin.html#a1cba37f66ea848e82d10b51093ec6d37">direction_set_input</a> ()</td></tr>
<tr class="memdesc:a1cba37f66ea848e82d10b51093ec6d37"><td class="mdescLeft">&#160;</td><td class="mdescRight">configure the pin as input <br/></td></tr>
<tr class="memitem:a78003ecaed9cb9a54eafdcd8745d8d34"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78003ecaed9cb9a54eafdcd8745d8d34"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1input__output__pin.html#a78003ecaed9cb9a54eafdcd8745d8d34">direction_set_output</a> ()</td></tr>
<tr class="memdesc:a78003ecaed9cb9a54eafdcd8745d8d34"><td class="mdescLeft">&#160;</td><td class="mdescRight">configure the pin as output <br/></td></tr>
<tr class="inherit_header pub_methods_classarmboard_1_1output__pin"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmboard_1_1output__pin')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classarmboard_1_1output__pin.html">armboard::output_pin</a></td></tr>
<tr class="memitem:af7be4865ae882a26c415e1c7f99b58da inherit pub_methods_classarmboard_1_1output__pin"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af7be4865ae882a26c415e1c7f99b58da"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1output__pin.html#af7be4865ae882a26c415e1c7f99b58da">set</a> (bool x)=0</td></tr>
<tr class="memdesc:af7be4865ae882a26c415e1c7f99b58da inherit pub_methods_classarmboard_1_1output__pin"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the pin high or low <br/></td></tr>
<tr class="inherit_header pub_methods_classarmboard_1_1input__pin"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmboard_1_1input__pin')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classarmboard_1_1input__pin.html">armboard::input_pin</a></td></tr>
<tr class="memitem:a2d505d850f7017a5365267e505018b78 inherit pub_methods_classarmboard_1_1input__pin"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2d505d850f7017a5365267e505018b78"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1input__pin.html#a2d505d850f7017a5365267e505018b78">get</a> ()=0</td></tr>
<tr class="memdesc:a2d505d850f7017a5365267e505018b78 inherit pub_methods_classarmboard_1_1input__pin"><td class="mdescLeft">&#160;</td><td class="mdescRight">read the current value (high or low) of the pin <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>a pin that can be configure as input or output </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="armboard_8h_source.html">armboard.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jun 27 2012 11:07:14 for TagM by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
